package com.lmk.Test;

import com.lmk.utils.ArrayTools;
import org.junit.jupiter.api.Test;

import java.lang.reflect.Array;
import java.security.SecureRandom;
import java.util.Arrays;

public class ArrayTest {
    @Test
    public void testThisSort(){
        int[] a={1,5,7,9,30,4};
        System.out.println(ArrayTools.isSort(a));
    }
    @Test
    public void  testGenerateArray(){
        int[] array = ArrayTools.generateArray(30, 100, 500);
        System.out.println(Arrays.toString(array));

    }

}
